/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2022-03-25
 * Time:18:39
 */
import java.util.Arrays;
//创建一个 int 类型的数组, 元素个数为 100, 并把每个元素依次设置为 1 - 100

public class Test {
    public static void main(String[] args) {
        int[] arr=new int[100];
        for (int i = 0; i < arr.length; i++) {
            arr[i]=i+1;
        }
        System.out.println(Arrays.toString(arr));
    }
}
